LearningStoreItemIdentifier Class

Represents an identifier to an item in a store (or an identifier to an item that will be added to a store).

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public class LearningStoreItemIdentifier : IEquatable<LearningStoreItemIdentifier>

Constructors
Name Description
Ï LearningStoreItemIdentifier (LearningStoreItemIdentifier)

Create a new instance of the LearningStoreItemIdentifier class.

Ð LearningStoreItemIdentifier (string, long)

Create a new instance of the LearningStoreItemIdentifier class.

Properties
Name Description
Ð ItemTypeName

Name of the item type referenced by this Id.

Methods
Name Description
Ð Equals (LearningStoreItemIdentifier)

Returns a value indicating whether two instances of LearningStoreItemIdentifier represent the same item.

Ð Equals (object)

Returns a value indicating whether two instances of LearningStoreItemIdentifier represent the same item.

Ð GetHashCode

Returns the hash code for this instance.

Ð GetKey

Retrieve the unique integer value assigned to the item.

Ð ToString

Returns a string representation of the current object

Operators
Name Description
ÐS operator !=

Compares two LearningStoreItemIdentifier objects to determine whether they are different.

ÐS operator ==

Compares two LearningStoreItemIdentifier objects to determine whether they are equal.

Remarks

A LearningStoreItemIdentifier consists of two things that, when used together, uniquely identify an item in a store: